package cn.stalk.compare.result;

public class DifferenceValue {

    private final Object sourceValue;
    private final Object targetValue;

    public DifferenceValue(Object sourceValue, Object targetValue) {
        this.sourceValue = sourceValue;
        this.targetValue = targetValue;
    }

    public Object getTargetValue() {
        return targetValue;
    }

    public Object getSourceValue() {
        return sourceValue;
    }

    @Override
    public String toString() {
        return String.format("[sourceValue=%s,targetValue=%s]", sourceValue, targetValue);
    }
}
